package com.example.clock.entity;

import lombok.Data;

import java.time.LocalDate;

/**
 * @author : lichengqian
 * 2024-07-29  16:00
 */
@Data
public class AttendResult {
    private Integer id;

    /**
     * 当天日历
     */
    private String week;

    /**
     * 当天日历
     */
    private LocalDate currentDateTime;

    /**
     * 上午打卡
     */
    private String clockUpTime;

    /**
     * 下午打卡
     */
    private String clockDownTime;

    /**
     * 加班时长字符串
     */
    private String additionTimeStr;

    public AttendResult() {
    }

    public AttendResult(String week, String additionTimeStr) {
        this.week = week;
        this.additionTimeStr = additionTimeStr;
    }

    public AttendResult(String week, LocalDate currentDateTime, String clockUpTime, String clockDownTime, String additionTimeStr) {
        this.week = week;
        this.currentDateTime = currentDateTime;
        this.clockUpTime = clockUpTime;
        this.clockDownTime = clockDownTime;
        this.additionTimeStr = additionTimeStr;
    }
}
